<?php
	require "../dao/staff_dao.php";
	
	$collegeid = $_POST["collegeid"];
	
	$teacher_infor = selectTeaByTcol($collegeid);

	if($teacher_infor){
		session_start();
		$_SESSION["teacher_infor"] = $teacher_infor;
?>
		<script type="text/javascript">
			location.href = "selectTea_information.php";
		</script>
<?php
	}else{
?>
		<script type="text/javascript">
			alert("查询失败,请选择正确信息。。。。。。。。");
			location.href = "selectTea_infor.php";
		</script>
<?php
	}
?>